//
//  KoiText.swift
//  KoiAccounting
//
//  Created by 纪洪文 on 23.04.25.
//

import Foundation
import SwiftUI

extension Text {
    
    func koiNormalButton() -> some View {
        return self
            .font(.system(size: 13))
            .foregroundColor(Color.koiColorPrimary)
            .padding(EdgeInsets(top: 8, leading: 16, bottom: 8, trailing: 16))
            .background(Color.koiColorPrimary.opacity(0.04))
            .cornerRadius(16)
    }
    
    func koiPrimaryButton() -> some View {
        return self
            .font(.system(size: 13))
            .fontWeight(.medium)
            .foregroundColor(Color.white)
            .frame(width: 262, height: 50)
            .background(Color.koiColorPrimary)
            .cornerRadius(40)
    }
}
